package com.ruoyi.project.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class QueryDecision {

    private Integer id;

    private Integer queryId;

    private String type;

    private String info;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public QueryDecision() {
    }

    public QueryDecision(Integer queryId, String type, String info) {
        this.queryId = queryId;
        this.type = type;
        this.info = info;
    }
}
